﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AjaxEditor.ascx.cs" Inherits="Controls_Common_AjaxEditor" %>
<%@ Register Assembly="Obout.Ajax.UI" Namespace="Obout.Ajax.UI.HTMLEditor" TagPrefix="obout" %>
<%@ Register Assembly="Obout.Ajax.UI" Namespace="Obout.Ajax.UI.HTMLEditor.Popups" TagPrefix="obout" %>
<asp:UpdatePanel ID="updatePanel1" runat="server">
    <ContentTemplate>   
        <obout:PopupHolder runat="server" ID="popupHolder" DefaultAddPolicy="Demand">
                <Preload>
                    <obout:ImageBrowser ID="ImageBrowser1" runat="server" GalleryFolders="~/Resources/Images/upload" ManagedFolders="~/Resources/Images/upload" />
                    <obout:FlashBrowser ID="FlashBrowser" runat="server" GalleryFolders="~/Resources/Images/upload" ManagedFolders="~/Resources/Images/upload" />
                    <obout:MediaBrowser ID="MediaBrowser1" runat="server" GalleryFolders="~/Resources/Images/upload" ManagedFolders="~/Resources/Images/upload" />
                    <obout:FlashVideoBrowser ID="FlashVideoBrowser1" runat="server" GalleryFolders="~/Resources/Images/upload" ManagedFolders="~/Resources/Images/upload" />
                    <obout:UrlBrowser ID="UrlBrowser1" runat="server" GalleryFolders="~/Resources/Images/upload" ManagedFolders="~/Resources/Images/upload" />
                    <obout:ImportDocumentPopup ID="ImportDocumentPopup1" runat="server" GalleryFolders="~/Resources/Images/upload" ManagedFolders="~/Resources/Images/upload" />
                </Preload>
            </obout:PopupHolder>
            <obout:Editor runat="server" ID="editor" Height="500px" Width="100%" PopupHolderID="popupHolder">
                <EditPanel AutoFocus="true" ActiveMode="design" IndentInDesignMode="20" />
                <BottomToolbar ShowDesignButton="true" ShowHtmlTextButton="true" ShowPreviewButton="true">
                </BottomToolbar>
            </obout:Editor>
    </ContentTemplate>
</asp:UpdatePanel>
